package com.justrun.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomException extends RuntimeException{

    /**
     * 异常状态码
     */
    private Integer myErrorCode;

    /**
     * 异常信息
     */
    private String myErrorMessage;
}
